package com.it2.pdfdemo.util;


import lombok.AllArgsConstructor;
import lombok.Data;


@Data
public class FontText {
    //文本内容1
    private String text;
    //文本内容2
    private String text2;

    private int text_pos;

    private String text_color;

    private Integer text_size;

    private String text_font;//字体  “黑体，Arial”


    public FontText(String text, int text_pos, String text_color,
                    Integer text_size, String text_font) {
        super();
        this.text = text;
        this.text_pos = text_pos;
        this.text_color = text_color;
        this.text_size = text_size;
        this.text_font = text_font;
    }

    public FontText(String text, String text2, int text_pos, String text_color,
                    Integer text_size, String text_font) {
        super();
        this.text = text;
        this.text2 = text2;
        this.text_pos = text_pos;
        this.text_color = text_color;
        this.text_size = text_size;
        this.text_font = text_font;
    }

    public FontText() {
    }
}

